﻿#region Using Directives

using System.Data;

#endregion

namespace GeekRule.ORM.Query
{
    /// <summary>
    /// Defines a stored procedure/routine parameter
    /// </summary>
    internal class ParameterDefinition
    {
        /// <summary>
        /// Name of the parameter
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// Ordinal position
        /// </summary>
        public int Position { get; set; }

        /// <summary>
        /// Direction (e.g. IN/OUT)
        /// </summary>
        public ParameterDirection Direction { get; set; }

        /// <summary>
        /// Data type of the parameter
        /// </summary>
        public string DataType { get; set; }
    }
}
